import request from '@/utils/request'

//查询
export function listWxHandle(data) {
  return request({
    url: 'club/listWx',
    method: 'post',
    data
  })
}

//查询
export function listHandle(data) {
  return request({
    url: 'club/list',
    method: 'post',
    data
  })
}

//报名
export function clubRegistrationHandle(data) {
  return request({
    url: 'club/clubRegistration',
    method: 'post',
    data
  })
}

// 俱乐部详情
export function queryById(data) {
  return request({
    url: 'club/queryById',
    method: 'post',
    data
  })
}

// 确认报名已签到，添加积分
export function clubAddUserRuleSettings(data) {
  return request({
    url: 'club/clubAddUserRuleSettings',
    method: 'post',
    data
  })
}

export default { 
	listWxHandle,
	listHandle,
	clubRegistrationHandle,
	queryById,
	clubAddUserRuleSettings
}
